package controls.edit;

import data.visu.utils.Numbers;

public class CurveValue extends A_ParamValue{
	
	private double value;

	public CurveValue(double value, boolean isChanged){
		super();
		setChanged(isChanged);
		this.typeName = "CURVE";
		setValue(value);
	}

	public void setValue(double value) {
		this.value = value;
		setValueString(Double.toString(Numbers.roundDouble(value,3)));
	}

	public double getValue() {
		return value;
	}

}
